﻿using Shop.RemoteModel.AttrTemplate.Model;
using Shop.RemoteModel.GoodsSku.Model;

namespace Shop.StoreGatewayModular.Interface
{
    public interface IAttrTemplateService
    {
        long Add (AttrTemplateAdd add);
        void Delete (long id);
        void Enable (long id);
        AttrTemplate Get (long id);
        AttrTemplateTree[] GetTrees (long categoryId, bool? isEnable);
        bool Set (long id, AttrTemplateSet datum);
        Dictionary<long, int> SetSort (long id, int value);
        void Stop (long id);
        GoodsAttr[] GetAttrTrees (long categoryId);
    }
}